<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs-popup.jsp" %>
<%@ taglib prefix="g" uri="http://geni-max.com/tags" %>
<g:panel>
	<div class="currentPosition">
		<g:property value="%{getText('current.position')}"></g:property>
		<g:property value="%{getText('user.create')}"></g:property>
	</div>
</g:panel>

<g:panel>
	<g:form namespace="/account" action="editUser" validate="true" method="post">
		<g:hidden name="id" value="%{id}" />
		<g:grid cols="4">
	        <g:textfield name="entity.loginName" value="%{entity.loginName}" key="label.loginName" required="true" inputcolspan="3"/>
	          <g:password name="entity.password"  value="%{entity.password}" key="user.password" required="true" />
	        <g:password name="repeatPassword"  value="%{repeatPassword}" key="user.repeatPassword" required="true" />
	         <g:textfield name="entity.name" value="%{entity.name}" key="label.name"  inputcolspan="3"/>
	        <g:textfield name="entity.email"  value="%{entity.email}" key="label.email" inputcolspan="3"/>
	        <g:textfield name="entity.phoneCode" value="%{entity.phoneCode}" key="label.phoneCode" inputcolspan="3"/>
	        <g:fieldgroup name="group" inputcolspan="3">
				<g:submit align="center" key="button.submit"/>
				<g:reset align="center" key="button.reset"/>
			</g:fieldgroup>
		</g:grid>
	</g:form>
</g:panel>
